router: skip if branch in PIO clear functions
authorÁlvaro Fernández Rojas <[email protected]>
Thu, 4 Dec 2025 14:48:44 +0000 (15:48 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 4 Dec 2025 14:55:07 +0000 (15:55 +0100)
commit79252ed0c0c26659a95729da0f2accaa0ddb458d
tree4142b26717dc55f4440c882036c2b538493100fd
parentd354ebb66cdcccc3373156468eec1c660fb2922c
router: skip if branch in PIO clear functions

We can skip the if branch that replaces the expired/duplicated ra_pio
value in the router_clear_*_ra_pio() functions.

Suggested-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/336
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/router.c